package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 企业订单详情基础信息
 *
 * @Author zoumingyu
 * @Date 2020年06月03日
 */
@Data
public class OrderEnterpriseBaseVo extends ResponseRootDto {
    private static final long serialVersionUID = -3924863671382218647L;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "订单状态（1：待付款，2：待交车，3：待起租，已交车）")
    private Integer state;

    @ApiModelProperty(value = "订单状态str")
    private String stateStr;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    @ApiModelProperty(value = "负责人姓名")
    private String responsibleAccountName;

    @ApiModelProperty(value = "负责人手机号")
    private String responsibleAccountPhone;

    @ApiModelProperty(value = "分子公司")
    private String subcompanyName;

    @ApiModelProperty(value = "租期")
    private Integer tenancy;

    @ApiModelProperty(value = "租期Str")
    private String tenancyStr;

    @ApiModelProperty(value = "还款周期")
    private Integer repaymentPeriod;

    @ApiModelProperty(value = "还款周期Str")
    private String repaymentPeriodStr;

    @ApiModelProperty(value = "起租日")
    private LocalDate leaseInception;

    @ApiModelProperty(value = "租赁截止日")
    private LocalDate leaseExpire;

    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "合同签订日期")
    private LocalDate contractDate;

    @ApiModelProperty(value = "合同")
    private List<OrderDealerContractVo> contractUrls;
}
